/*
 * Created on Mon Jun 11 2018 by Ronnie Ren (zhaosong.ren) from Accenture
 *
 * Copyright (c) 2018 DingXin information & technology limited company.
 */

import { NavController, IonicPage, Platform } from "ionic-angular";
import { Component, ViewChild } from "@angular/core";

@IonicPage({
  name: "OperationalControlPage",
  segment: "OperationalControlPage",
  priority: 'on',
  defaultHistory: []
})

@Component({
  selector: 'operational-control-page',
  templateUrl: 'operational-control.page.html'
})
export class OperationalControlPage {

  selected: string = "target";
  @ViewChild('cashFlow') cashFlow: any;
  @ViewChild('realTime') realTime: any;
  constructor(
    private navController: NavController,
    private platform: Platform,
   ) {


  }

  segmentSelected(str) {
    this.selected = str;
    switch (str) {
      case "target" :  break;
      case "process" : break;
      case "composite" : break;
      default : break;
    }
  }


}
